import 'dart:convert';

AssessmentGradingDto assessmentGradingDtoFromJson(String str) =>
    AssessmentGradingDto.fromJson(json.decode(str));
String assessmentGradingDtoToJson(AssessmentGradingDto data) =>
    json.encode(data.toJson());

class AssessmentGradingDto {
  AssessmentGradingDto({
    this.submit,
    this.questionRecordId,
    this.userName,
    this.writtenJson,
    this.oralJson,
  });

  bool? submit;
  String? questionRecordId;
  String? userName;
  String? writtenJson;
  String? oralJson;

  factory AssessmentGradingDto.fromJson(Map<String, dynamic> json) =>
      AssessmentGradingDto(
        submit: json["submit"],
        questionRecordId: json["questionRecordId"],
        userName: json["userName"],
        writtenJson: json["writtenJson"],
        oralJson: json["oralJson"],
      );

  Map<String, dynamic> toJson() => {
        "submit": submit,
        "questionRecordId": questionRecordId,
        "userName": userName,
        "writtenJson": writtenJson,
        "oralJson": oralJson,
      };
}
